function getQueryobj(query) {
    const queryStr = query.substring(1)
    const queryStrList = queryStr.split("&");
    const obj = {}
    for (let item of queryStrList) {
        const itemList = item.split("=")
        obj[itemList[0]] = itemList[1];
    }
    return obj;
}

